
/**
 * 房间位置拓展
 */
 export default class StructureLabExtension extends StructureLab {

    isBoostedUsed?:boolean;
    boostCreep(creep: Creep, bodyPartsCount?: number): ScreepsReturnCode
    {
        if(this.isBoostedUsed)
        {
            return ERR_BUSY; 
        }
        let ret:ScreepsReturnCode;
        if((ret = this._boostCreep(creep,bodyPartsCount)) === OK)
        {
            this.isBoostedUsed = true;
        }
        return ret;
    }
}

